﻿<!DOCTYPE html>
<html class="iframe-h">
	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>网站后台管理</title>
		<link rel="stylesheet" type="text/css" href="../../static/admin/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../../static/admin/css/admin.css" />
	</head>
    <body>
        <div class="wrap-container clearfix">
            <div class="column-content-detail">
                <div class="layui-form" id="table-list">
                    <table class="layui-table" lay-even lay-skin="nob">
                        <colgroup>
                            <col class="hidden-xs" width="50">
                            <col class="hidden-xs" width="100">
                            <col class="hidden-xs" width="150">
                            <col class="hidden-xs" width="150">
                            <col class="hidden-xs" width="150">
                            <col width="80">
                            <col width="150">
                        </colgroup>
                        <thead>
                            <tr>
                                <th class="hidden-xs">ID</th>
                                <th>姓名</th>
                                <th>快递取件码</th>
                                <th>订单金额</th>
                                <th>学校名称</th>
                                <th class="hidden-xs">创建时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody id="tablelist">
                            
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <script src="../../static/admin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
        <script src="../../static/admin/js/common.js" type="text/javascript" charset="utf-8"></script>
        <script src="../../static/admin/js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
        <script>
            layui.use('layer', function () {
                var layer = layui.layer;
                var index = layer.load();
                $.ajax({
                    type: 'POST',
                    url: '../../../controller/orderList.aspx',//发送请求
                    dataType: 'JSON',
                    success: function (res) {
                        layer.close(index);
                        if (res.code == 200) {
                            $("#tablelist").html(res.data);
                        } else {
                            layer.open({
                                content: res.msg
                            });
                        }
                    }
                });
            }); 
        </script>
    </body>
</html>